package cn.edu.hpu.jie.services;

import cn.edu.hpu.jie.dao.LoginDao;
import cn.edu.hpu.jie.entity.Login;

public class LoginService {
	private LoginDao dao = new LoginDao();
	
	public Login getLastLogin(int userid) {
		return dao.getLastLogin(userid);
	}
	
	public int insertLogin(Login l) {
		return dao.insertLogin(l);
	}
}
